#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME            := /usr/lib/jvm/java-gcj
DEB_ANT_BUILD_TARGET := all
DEB_JARS             := jorbis jogg tritonus_share /usr/lib/kaffe/jre/lib/rt.jar

install/libvorbisspi-java::
	dh_link /usr/share/java/vorbisspi$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/vorbisspi.jar

get-orig-source:
	-uscan --upstream-version 0 --rename
